package com.ujs.thymeleaf;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("*")
public class ErrorPageController {
    @GetMapping("/403")
    public String forbidden(){
        return "403";
    }
    @GetMapping("/404")
    public String notFound() {
        return "404";
    }
}

